package io.gitee.twoke.generator.engine.impl.metadata;

import io.gitee.twoke.generator.engine.impl.metadata.impl.TableColumImpl;
import org.apache.ibatis.type.JdbcType;

public interface TableColumn {
    String getName();
    int getDataType();
    JdbcType getJdbcType();
    String getComment();
    String getDefaultValue();
    boolean isPrimaryKey();
    boolean isRequired();

    public static TableColumImpl.TableColumImplBuilder builder(){
        return TableColumImpl.builder();
    }

}
